package com.ruoyi.back.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 首页培训风采对象 index_train
 * 
 * @author luguanqing
 * @date 2021-04-06
 */
@ApiModel("首页培训风采实体")
public class IndexTrain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @ApiModelProperty(value = "主键id")
    private String id;

    /** 培训风采标题 */
    @ApiModelProperty(value = "培训风采标题")
    @Excel(name = "培训风采标题")
    private String title;

    /** 培训风采介绍 */
    @ApiModelProperty(value = "培训风采介绍")
    @Excel(name = "培训风采介绍")
    private String introduce;

    /** 图片路径 */
    @ApiModelProperty(value = "图片路径")
    @Excel(name = "图片路径")
    private String img;

    /** 图片顺序 */
    @ApiModelProperty(value = "图片顺序")
    @Excel(name = "图片顺序")
    private String sort;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setIntroduce(String introduce) 
    {
        this.introduce = introduce;
    }

    public String getIntroduce() 
    {
        return introduce;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("introduce", getIntroduce())
            .append("img", getImg())
            .append("sort", getSort())
            .toString();
    }
}
